﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Acme.BookStore.Workzmy
{
    public class AllocationListDto
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 调拨单号
        /// </summary>
        public string AllocationNo { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        public string Status { get; set; }
        public string Singer { get; set; }

        /// <summary>
        /// 调拨申请日期
        /// </summary>
        public DateTime? ApplicationDate { get; set; }
        public DateTime? CreationTime { get; set; }

        /// <summary>
        /// 调拨类型
        /// </summary>
        public string AllocationType { get; set; }

        /// <summary>
        /// 调出仓库
        /// </summary>
        public string FromWarehouse { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 调拨数量
        /// </summary>
        public decimal AllocationQuantity { get; set; }
        /// <summary>
        /// 调拨金额
        /// </summary>
        public decimal AllocationAmount { get; set; }

        /// <summary>
        /// 调入仓库
        /// </summary>
        public string ToWarehouse { get; set; }
        /// <summary>
        /// 货品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 调拨数量
        /// </summary>
        public decimal TotalAllocationQuantity { get; set; }

        /// <summary>
        /// 调拨金额
        /// </summary>
        public decimal TotalAllocationAmount { get; set; }

        /// <summary>
        /// 经办人
        /// </summary>
        public string Handler { get; set; }
        public List<FileUploadDto> files { get; set; }
        public List<AllocationDetailDto> AllocationItems { get; set; }

    }
}
